<div class="dd-handle dd-nodrag dd-primary">Float Icon 配置
    <span class="pull-right">
        <a class="fa fa-plus pt5 pull-right add-select" id="addFloatIcon" href="#"></a>
    </span>
</div>
<ol class="dd-list" data-field="float_icon" data-type="flat">
    <li class="dd-item">
        <div class="dd-content">
            <div class="row sortable">
                <% _.each(float_icons, function(float_icon){ %>
                    <div class="col-lg-2 col-md-3 col-xs-4" data-field="-" data-value="<%= float_icon.id %>" data-type="int">
                        <div class="row">
                            <a href="#" class="close delete-float_icon" data-id=<%= float_icon.id %>>x</a>
                            <a href="<%= float_icon.icon %>" class="thumbnail image-popup" data-id="<%= float_icon.id %>">
                                <img src="<%= float_icon.icon %>" class="fix-icon" alt="图像丢失">
                            </a>
                        </div>
                    </div>
                <% }) %>
            </div>
        </div>
    </li>
</ol>

    <!-- Panel popup -->
<div id="addFloatIconPanel" class="popup-basic popup-lg bg-none mfp-with-anim mfp-hide">
    <div class="panel">
        <div class="panel-heading">
            <span class="panel-icon"><i class="fa fa-pencil"></i></span>
            <span class="panel-title">添加FloatIcon</span>
        </div>
        <div class="panel-body">
            <form id="coupon-form" class="form-horizontal" role="form">
                <div class="form-group" id="coupon-group">
                    <label for="inputFloatIcon" class="col-md-2 control-label">请勾选：</label>
                    <div class="col-md-6">
                        <% var selected = _.pluck(float_icons, 'id'); %>
                        <select id="inputFloatIcon" class="form-control" multiple>
                            <% _.each(allFloatIcons, function(float_icon){
                            if(selected.indexOf(float_icon.id) >= 0 )return; %>
                                <option value="<%= float_icon.id %>"><%= float_icon.title %><%= float_icon.remark ? "(" + float_icon.remark + ")" : "" %> </option>
                            <% }) %>
                        </select>
                    </div>
                </div>
            </form>
        </div>
        <div class="panel-footer text-right">
            <button class="btn btn-primary" type="button" id="submitAddFloatIcon">确定</button>
        </div>
    </div>
</div>